<?php

$Document->Base = "http://coreframework.localhost/";
$Document->addCSS( "StyleSheets/common.css" );
$Document->addCSS( "StyleSheets/menu.css" );
$Document->addCSS( "StyleSheets/footer.css" );
$Document->addCSS( "StyleSheets/index.css" );

$Document->importHTML( $this->load( "Index/Templates/Container.html" ) );

$objContainer = $Document->find( "#Container" )->get(0);

//require_once Core_Directories::CONTROLLERS . "IndexController.php";

//if ( IndexController::hasAccess() ) {
    $objContainer->importHTML( $this->load( "Index/Templates/HeaderSignedIn.html" ) );
//} else {
//    $objContainer->importHTML( $this->load( "Index/templates/Header.html" ) );
//}

$objContainer->importHTML( $this->load( "Index/Templates/Menu.html" ) );
$objContainer->importHTML( $this->load( "Index/Templates/Footer.html" ) );

?>
